package cn.xueden.system.mapper;

import cn.xueden.system.model.entity.User;
import cn.xueden.system.model.vo.UserVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**功能描述：用户Mapper
 * @author:梁志杰
 * @date:2025/6/8
 * @description:cn.xueden.system.mapper
 * @version:1.0
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 分页查询用户信息
     * @param page
     * @param realName
     * @return
     */
    Page<UserVO> pagingUser(Page<UserVO> page, @Param("realName") String realName);

}
